package model;

import java.util.Date;

import util.SMSUtil;

public class Lead extends SMSObject {
	private String name;
	private String address;
	private String fax;
	private String email;
	private Account account;
	private String source;
	private String company;
	private int phoneNum;
	private String zip;
	private String city;
	private String country;
	private Date leadDate;
	private String productInterest;
	private String managedBy;
	private static long leadId = 1;
	private String interestedCustomer;

	public String getInterestedCustomer() {
		return interestedCustomer;
	}

	public void setInterestedCustomer(String interestedCustomer) {
		this.interestedCustomer = interestedCustomer;
	}

	public String getManagedBy() {
		return managedBy;
	}

	public void setManagedBy(String managedBy) {
		this.managedBy = managedBy;
	}

	public String getProductInterest() {
		return productInterest;
	}

	public void setProductInterest(String productInterest) {
		this.productInterest = productInterest;
	}

	public static long nextId() {
		return leadId++;
	}

	public Date getLeadDate() {
		return leadDate;
	}

	public void setLeadDate(Date leadDate) {
		this.leadDate = leadDate;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Account getAccount() {
		return account;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public int getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(int phoneNum) {
		this.phoneNum = phoneNum;
	}

	public String getZip() {
		return zip;
	}

	public void setZip(String zip) {
		this.zip = zip;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String toString() {
		return smsObjId + "\t\t" + name + "\t\t " + city + "\t\t"
				+ SMSUtil.formatDate(leadDate) + "\t\t" + productInterest
				+ "\t\t" + currentState.getStateName() + "\t\t"+SMSUtil.getTBD(this);

	}

}
